const NavModel=require('../model/navmodel')

module.exports={
  getNavs: async (ctx,next)=>{
    ctx.nav=await NavModel.Nav()
    next()
  }
}
